package com.cm.projectx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * CREATE TABLE `task_process_relation`  (
 *   `id` int NOT NULL,
 *   `task_id` int NULL DEFAULT NULL,
 *   `process_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
 *   PRIMARY KEY (`id`) USING BTREE
 * ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
 */
//关联任务和各个监测点流程
@Data
@TableName("task_process_relation")
public class TaskProcessRelation {
    @TableId
    private String id;
    //任务id
    @TableField("task_id")
    private Integer taskId;
    //流程id
    @TableField("process_id")
    private String processId;
    //检测点id
    @TableField("monitor_id")
    private String monitorId;
    //报价时间
    @TableField("start_time")
    private String startTime;
    //报价结束时间
    @TableField("end_time")
    private String endTime;
}
